/**
 * This class represents a Message.
 * 
 * @author (Dilyan GEORGIEV)
 * @author (Thomas KOBER) 
 * @author (Matthew MCDONALD)
 * 
 * @version (1.0)
 */

import java.awt.*;

public class Message  
{
    private Color   textColor;
    private Font    font;
    private String  text;
    private Point   position;

    /**
     * Constructor for objects of class Message.
     * @param textColor color of the message.
     * @param font the font of the message.
     * @param text actual message text.
     * @param position position of the message in the MessageBox.
     */
    public Message(Color textColor, Font font, String text, Point position)
    {
        super();
        
        this.textColor  = textColor;
        this.font       = font;
        this.text       = text;
        this.position   = position;
    }
    
    /**
     * Returns the text color of the message.
     * @return the text color of the message.
     */
    public Color getTextColor()
    {
        return this.textColor;
    }
    
    /**
     * Returns the font of the message.
     * @return the font of the message.
     */
    public Font getFont()
    {
        return this.font;
    }
    
    /**
     * Returns the actual message text.
     * @return the actual message text.
     */
    public String getText()
    {
        return this.text;
    }
    
    /**
     * Returns the position of the message.
     * @return the position of the message.
     */
    public Point getPosition()
    {
        return this.position;
    }   
}